3.2 Download official image and create Jetbot Mini firmware

Component Environment Analysis:

image-20211030175219489

The version information shown in the figure above is downloaded from NVIDIA's official website on October 2020 21. The updated component environment of Jetson nano 2GB official image is also the official firmware component environment of yahboom intelligent jetbotmini 2GB. This component version environment has passed the full function test. If the user needs to download the new firmware environment from the official to build the jetbotmini firmware environment according to the official tutorial given by yahboom, in order to avoid various unknown abnormal problems caused by version compatibility in the built environment, please use 2020.10 as far as possible 21 official updated image environment.

Jetson nano NVIDIA official developer kit SD card image download address:

Search address:https://developer.nvidia.com/embedded/downloads#?search=Jetson%20Nano

Download address:https://developer.nvidia.com/jetson-nano-2gb-sd-card-image

3.2.1 Burn image into Micro SD card

Preparatory work: a PC and a micro SD card reader. The image to be burned is located in the tutorial - > factory image of jetbotmini. The official factory image of yahboom is the image of the configured environment. You can use it immediately without configuring the troublesome environment. The official factory image of NVIDIA is the pure image without the configured environment, If users need to try to build their own environment, we provide two kinds of images for users to choose.

  1. Download the Jetson Nano Developer Kit SD card image according to the address provided above and note where it is stored on your computer.
  2. Depending on the type of computer you are using: Windows, Mac or Linux, follow the instructions below to write the image to the Micro SD card.

Windows:

  1. Format SD card:

Before writing the system image, you need to format your SD card by SD Card Formatter.

Install Formatter:

Path of package : [JetBot-Mini-Robot-Car] --> [Annex] --> [Tools]--> [SD Card Formatter]

Insert the SD card into the computer by the card reader, you will see that the computer has one more drive letter.

image-20211214095514787

Note:If any warnings appear, please select”Yes/OK”.

 

  1. Write the Jetson Nano Developer Kit SD card image to the Micro SD card using Etcher.

Install Etcher:

Path of package : [JetBot-Mini-Robot-Car] --> [Annex] --> [Tools]--> [balenaEtcher-Portable]

Burn image:

Insert the formatted SD card into the computer through the card reader.

img

  1. Click "Select image" and select the compressed image file you downloaded earlier.
  2. If need to insert microSD card. If Windows prompts you to use the following dialog, please click “Cancel” (according to this description):

img

  1. Click "Select Drive" and select the correct device.

img

  1. Click on "Flash!" If your microSD card is connected via USB3, Etcher will take about 10 minutes to write and verify the image.
  2. After the Etcher is complete. If Windows prompts you to use the following dialog, please click “Cancel” (according to this description):

image-20211214100159458

  1. Physically remove the microSD card from the computer.

MAC:

You can write an SD card image using a graphics program such as Etcher or a command line.

Method :

  1. Do not insert a microSD card.
  2. Download, install and start the Etcher.

image-20211214100720215

  1. Click "Select Image" and select the compressed image file you downloaded earlier.
  2. Insert the micro SD card. If your Mac displays this window, click “Ignore”:

image-20211214100725441

  1. If you are not connected to another external drive, Etcher will automatically select the microSD card as the target device. Otherwise, click "Select Drive" and select the correct device.
  2. Click on "Flash!" Your Mac may prompt you for a username and password before allowing Etcher to continue.

image-20211214100730435

If your microSD card is connected via USB3, Etcher will take about 10 minutes to write and verify the image.

  1. After the Etcher is finished, if Mac prompts you to use the following dialog, please click “Ignore” (according to this description):

image-20211214100734866

  1. Physically remove the microSD card from the computer.

LINUX:

You can write an SD card image using a graphics program such as Etcher or a command line.

Method 1--- Etcher

1)Download, install and start the Etcher.

image-20211021093941458

2)Click "Select Image" and select the compressed image file you downloaded earlier. 3)Insert the micro SD card. If you are not connected to another external drive, Etcher will automatically select the microSD card as the target device. Otherwise, click "change" and select the correct device.

image-20211021100552615

  1. Click on "Flash!" Your operating system may prompt you for a username and password before allowing Etcher to continue.

image-20211021100732052

If your microSD card is connected via USB3, Etcher will take about 10 minutes to write and verify the image.

  1. After the Etcher is finished, use the Files application to eject the SD card:

image-20211101103147614

  1. Physically remove the microSD card from the computer.

Method 2--- command line

  1. Press Ctrl+Alt+t to open the terminal application.
  2. Insert the microSD card and use the command to display the disk device assigned to it:

In this example, we can see that the 16GB micro SD card is assigned /dev/sda:

image-20211021101504102

  1. Use this command to write the compressed image to the microSD card:

E.g:

image-20211021101555381

After the command is completed, eject the disk device from the command line:

4)Physically remove the microSD card from the computer.

3.2.2 Install the required components

Note: if you burn the factory image of jetbotmini, you can choose to skip this part of the configuration, because the required software has been configured in the factory image of jetbotmini.

0.The system needs to be updated before installation

Note: you need to connect WiFi or network cable before performing the following steps.

sudo apt-get update

sudo apt-get full-upgrade

sudo apt-get install nano 安装nano编辑器

 

1.Install pip

Because Python 3.6 is already installed in Jetson Nano, installing pip is relatively simple.

After installation, pip is version 9.0.1, you need to upgrade it to the latest version.

image-20211101103243768

Original

After modification

Save after modification. Display after running PIP3 - V:

image-20211021102627750

2.Install Jetbot Mini Dependency package

Here are the packages that need to be installed when Jetbot Mini is running:

Name版本
Adafruit-GPIO(Local installation)1.0.4
Adafruit-MotorHAT(Local installation)1.4.0
Adafruit-PureIO0.2.3
Adafruit-SSD13061.6.2
Flask1.1.2
Jetson.GPIO1.0.0
numpy1.16.4
traitlets(Local installation)3.4
pillow5.2.0

Local installation:

If you use the command to find the package in the source or the network environment is not good, we have provide the Jetbot Mini dependency package, transfer the local package to the Jetbot Mini file system by WinSCP.

Path of package : [JetBot-Mini-Robot-Car] --> [Annex] --> [Jetbot Dependency package]

Then, we can input: cd xxxx jumps to the directory where you need to install the package (the directory with the setup.py file)

Input this command:

Install the package.

Online installation:

Use the following command to install the corresponding package, (xxx is name of package you need to install)

If there is a compatibility issue with the new version of the installation, you can use the following command to install the dependencies of the version specified in the above listed package.

(For example, you need to specify numpy 1.16.4 , you need to input command: sudo pip install numpy==1.16.4)

Install the cmake software: